#ifndef RESPONSE
#define RESPONSE
#include <iostream>
#include "FileUtil.h"
using namespace std;
class Response
{
private:
    //响应码
    int code;
    bool success;
    string message;
    string data;
    FileContent *fileContent;
public:
    Response(/* args */);
    Response(int code,bool success,string message,string data);
    Response(int code,bool success,string message,FileContent *content);
    void setCode(int code);
    int getCode();
    void setSuccess(bool success);
    bool getSuccess();
    void setMessage(string message);
    string getMessage();
    void setData(string data);
    string getData();
    void setFileContent(FileContent *content);
    FileContent* getFileContent();
    ~Response();
};

#endif 